/* @(#)GSOperFunctionDAO.java    
 *
 * Project: BUS
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   Jenny Li     2006-2-9    建立
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.dao;

import java.util.ArrayList;

import com.hitrust.gs.bean.GSOperFunctionBean;
import com.hitrust.gs.lib.db.GSBaseDAO;
import com.hitrust.gs.util.exception.GSException;
/**
 * @author hitrust
 *
 */
public class GSOperFunctionDAO extends GSBaseDAO {
    /**
     * 查询操作员功能权限
     * @param aOperId           操作员编码
     * @return
     * @throws GSException
     */
	public ArrayList queryFunction(String aOperId) throws GSException{
		String tSql = "select * from GS_OPER_FUNCTION where GS_OPER_ID=?";
		Object tObj[] = {aOperId};
		GSOperFunctionBean tGSOperFunctionBean = new GSOperFunctionBean();
		ArrayList tList = null;
		try{
			tList = executeQuery(tGSOperFunctionBean,tSql,tObj);
		}catch(Exception e){
			e.printStackTrace();
		}
		return tList;
	}
}
